import request from "@/utils/request";

// 查询列表
export function queryPage(query) {
  return request({
    url: "/pension/supervisionInfo/queryPage",
    method: "post",
    data: query,
  });
}

// 查询列表
export function queryList(query) {
  return request({
    url: "/pension/supervisionInfo/list",
    method: "post",
    data: query,
  });
}

// 查询详细
export function get(id) {
  return request({
    url: "/pension/supervisionInfo/get",
    method: "get",
    params: id,
  });
}

// 新增
export function add(data) {
  return request({
    url: "/pension/supervisionInfo/add",
    method: "post",
    data: data,
  });
}
// 修改
export function update(data) {
  return request({
    url: "/pension/supervisionInfo/update",
    method: "post",
    data: data,
  });
}
